package com.kitty.game.fixed.controller;

import com.kitty.game.fixed.message.FixedTeamOneKey;
import com.kitty.game.fixed.message.FixedTeamStartConfirm;
import com.kitty.game.fixed.service.UseFixedTeamService;
import com.kitty.mina.annotation.RequestMapping;
import org.apache.mina.core.session.IoSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UseFixedTeamController {
    @Autowired
    UseFixedTeamService useFixedTeamService;
    /**
     * 固定队邀请人 。
     * @param session
     * @param fixedTeamStartConfirm
     */
    @RequestMapping
    public void inviteTeam(IoSession session, FixedTeamOneKey fixedTeamOneKey){
        useFixedTeamService.inviteTeam(session,fixedTeamOneKey);
    }

}
